package com.hs.jhzd.entity;

import lombok.Data;

import javax.persistence.*;

@Entity
@Data
@Table(name = "mj_mjxxb")
public class Police {
    @Id
    @Column(name = "MJBH")
    //@Column(name = "police_number")
    private String policeId;

//    private String loginName;
//    private String password;

    @Column(name = "MJXM")
    //@Column(name = "police_name")
    private String name;

    @Column(name = "MJXB")
    //@Column(name = "sex")
    private String sex;

    @Column(name = "JH")
    //@Column(name = "police_code")
    private String policeNum;

    @Column(name = "BM")
    //@Column(name = "department")
    private String department;

    @Column(name = "BMZW")
    //@Column(name = "department_position")
    private String duty;

    @Column(name = "BZXZ")
    //@Column(name = "job_type")
    private String jobProperty;

    @Column(name = "ZJHM")
    //@Column(name = "police_id")
    private String identyId;


    // @Column(columnDefinition = "LONGBLOB")
    // private byte[] photo;

    @Column(name = "BQWYBH")
    //@Column(name = "rf_id")
    private String cardId;

    @Transient
    private String jsbh;
}
